package com.hornsun.data.dbo;

import java.util.Date;

public class Role {
    private String roleGuid;

    private String roleName;

    private Integer permission;

    private Byte whetherSuper;

    private Date createTime;

    public String getRoleGuid() {
        return roleGuid;
    }

    public void setRoleGuid(String roleGuid) {
        this.roleGuid = roleGuid == null ? null : roleGuid.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }

    public Byte getWhetherSuper() {
        return whetherSuper;
    }

    public void setWhetherSuper(Byte whetherSuper) {
        this.whetherSuper = whetherSuper;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", roleGuid=").append(roleGuid);
        sb.append(", roleName=").append(roleName);
        sb.append(", permission=").append(permission);
        sb.append(", whetherSuper=").append(whetherSuper);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}